
//         :
//
// TODO_GUN -    
// TODO_BOMB_HOLDERS -    BombHolder
// TODEV -     

class_name = "CPlane"
object_name = "S.E.5a"
detail_type = "DET_PLANE" //list of types is in \inc\SimulationSystem\DetailTypes.inc

[COCKPIT_LIMITS]
x= -0.17, 0.15
y= -0.15, 0.1
z= -0.25, 0.25
[END]

[OPEN_COCKPIT_LIMITS]
x= -0.17, 0.15
y= -0.15, 0.2
z= -0.4, 0.4
[END]

//////	PhysicsBody properties
//VisualImage = <int TYPE>,<string File_PathName>,<bool cast_shadows>

VisualImage=0,"graphics/Planes/SE5a/SE5a.mgm",true,true
VisualImage=1,"graphics/Planes/SE5a/SE5a-C.mgm",false
DistantLOD="LuaScripts/WorldObjects/Planes/DistantLODs/SE5a_Distant.txt"
DLODArgs=50380,57200
Fragment="LuaScripts/WorldObjects/Planes/Fragments/SE5a_Fragment.txt"

//VisualImage=ID,model_or_effect,cast_shadows[,debris_effects]
//ID:					INT:	0 - visible everywhere, 1 - visible inside, 2 - visible outside
//model_or_effect:		STRING:	path to model file (mgm) of effect file (epl)
//cast_shadows: 		BOOL:	cast shadows from object or not
//[,debris_effects]:	BOOL:	optional parameter, show effects on object debris or not

ImageAttr=345	// IA_NOCLIP | IA_CLOSEVIEWARG | IA_NOMINPIXELS | IA_NOMINZ | IA_SCALEARG
//	IA_DEFAULT=0,
//	IA_NOCLIP=1,
//	IA_NOCLIP_ANIM=2,
//	IA_NOROTINTERPOLATION=4,
//	IA_NOMINZ=8,
//	IA_NOMINPIXELS=16,
//	IA_NOPOSINTERPOLATION=32,
//	IA_CLOSEVIEWARG=64,
//	IA_ALWAYSVISIBLE=128,
//	IA_SCALEARG=256,
//	ImageAttr=Attr1+Attr2+...+AttrN

CollisionBody="graphics/Planes/SE5a/SE5a.col"

SoundScript="LuaScripts/Sound/Planes/SE5a.cfg"

HidePeriodAfterExplosion = 3.0

DropsArg=100
HumidityArg=101

SetCockpitArgs=false	// true -             , false -              

//CockpitArg= FetchType, CmdID, SubcmdID, ArgNum, ArgValDefault, SmoothingType, SmoothingPower, NetworkFlag
//FetchType=-1:       
//FetchType=-2:         
//FetchType=-3:          parent-
//FetchType>=0:          child-   Attach ID
//CmdID=[0..999]: ID    ,    .
//CmdID=[1000..1999]: ID    ,    .
//SubcmdID=[0..3]: ID     .
//SubcmdID=[0..1]: ID     .
//ArgNum:     / .
//ArgValDefault:      ,    .
//SmoothingType: smooth_clamp -  - 
//SmoothingType: smooth_wrap -   
//SmoothingPower:   
//NetworkFlag="":           ,  SetCockpitArgs=false
//NetworkFlag="low_freq":     ,       ,    
//NetworkFlag="med_freq":     ,       ,    
//NetworkFlag="high_freq":     ,       ,    
//NetworkFlag="granted_single":     ,       ,     

// DefArg:
// 2300 -      (0 - , 1 -   )
// 4300 -    ,    (0 - , 1 - )
		
//  
CockpitArg = -2, 0000, 0, 00402, 0.500, "smooth_clamp", 0.0, "" //  -   
CockpitArg = -2, 1000, 0, 00406, 0.500, "smooth_clamp", 0.0, "" //  -   
CockpitArg = -2, 1000, 1, 00407, 0.500, "smooth_clamp", 0.0, "" //  -   
CockpitArg = -2, 0011, 1, 00430, 0.500, "smooth_wrap",  0.1, "" //   
//  
CockpitArg = -2, 0100, 0, 01100, 0.000, "smooth_clamp", 0.1, "" //  ( )
CockpitArg = -2, 0100, 1, 01111, 0.000, "smooth_clamp", 0.1, "" //      ( )
CockpitArg = -2, 0102, 3, 01182, 0.000, "smooth_clamp", 0.1, "" //    
CockpitArg = -2, 0103, 0, 01152, 0.000, "smooth_clamp", 0.1, "" //  1-  ()
CockpitArg = -2, 0105, 3, 01030, 0.000, "smooth_wrap" , 0.1, "" //    
CockpitArg = -2, 0353, 1, 02301, 0.000, "smooth_clamp", 0.1, "" // 
CockpitArg = -2, 0353, 3, 02361, 0.150, "smooth_clamp", 0.1, "" //    
//        
CockpitArg = -2, 1200, 0, 03102, 0.000, "smooth_clamp", 0.1, "" // RPM
CockpitArg = -2, 1201, 1, 03142, 0.000, "smooth_clamp", 0.1, "" //  
CockpitArg = -2, 0202, 1, 03172, 0.000, "smooth_clamp", 0.1, "" //  
CockpitArg = -2, 1203, 0, 02531, 0.000, "smooth_clamp", 0.1, "" //     
CockpitArg = -2, 0350, 0, 02501, 1.000, "smooth_clamp", 0.1, "" // 
// - 
CockpitArg = -2, 0400, 0, 08511, 0.000, "smooth_wrap",  0.1, "" //  -  
CockpitArg = -2, 0400, 1, 08512, 0.000, "smooth_wrap",  0.1, "" //  -  
CockpitArg = -2, 1400, 0, 08513, 0.000, "smooth_wrap",  0.1, "" //  -  
CockpitArg = -2, 0401, 2, 00206, 0.500, "smooth_clamp", 0.5, "" //   
CockpitArg = -2, 0401, 3, 00205, 0.500, "smooth_clamp", 0.5, "" //   
CockpitArg = -2, 1400, 1, 00204, 0.000, "smooth_wrap",  0.2, "" //  
CockpitArg = -2, 0401, 1, 08171, 0.500, "smooth_clamp", 0.1, "" //  
CockpitArg = -2, 1403, 0, 08201, 0.000, "smooth_clamp", 0.1, "" //   () 
CockpitArg = -2, 1402, 0, 08251, 0.000, "smooth_clamp", 0.1, "" //    - 
CockpitArg = -2, 1408, 0, 08253, 0.000, "smooth_wrap",  0.1, "" //    -  . Default = 760 ...
//   ()
CockpitArg = -2, 0431, 1, 04301, 0.000, "smooth_clamp", 0.1, "" //     
CockpitArg = -2, 0430, 1, 60210, 0.000, "smooth_clamp", 0.0, "" //   
//  
CockpitArg = -2, 0490, 0, 09004, 0.000, "smooth_clamp", 0.1, "" //   

//  .:
// 19001 -  
// 19002 - 
// 19003 -    

//   :
// 0


[attach=0]
	position= -1.3, -0.08, 0.00
	object = "LuaScripts/WorldObjects/Bots/BotPilot_Spad13.txt"
[end]

[attach=1]
	position= -1.4, 0.8, 0.5
	rotation= 45, 0, 0
	object = "LuaScripts/WorldObjects/FlareGun.txt"
[end]

[attach=2]
	position= 0.0, 0.0, 0.0
	object = "LuaScripts/WorldObjects/Spotter.txt"
[end]

[attach=3]
	position= -0.832, 1.066, 2.484
	rotation= -85, 0, 8
	convex = "Krilo_Top_R_2"
//	object = "LuaScripts/WorldObjects/Banner.txt"
[end]

AttachedCameras = "LuaScripts/WorldObjects/fixcameras/Planes/SE5a.txt"

BannerAttachID=3
CustomPhotoArg=55

SendRate=5,50	//normal, attached state

CommandMonitor="LuaScripts/WorldObjects/FokkerMonitor.txt"


//////	Controled body specific
CockpitFocus=0.6,-1,0,65,0.7

Plane_Class="CAeroplane_S_E_5a"

InitialSpeedInAir = 120.0 // ,      , /

//  ,   aimingHelper()
Gun_Coord0= 0.154, 0.512,-0.126
Gun_Coord1=-0.246, 1.295, 0.0
Deviation0= 3, 2, 0.9, 0.02, 0.1
Deviation1= 3, 2, 0.9, 0.02, 0.1

ParallaxDistance = 150.0

MinCartridgeCaseTime = 0.05 //       

FTCoord=0.1655,-0.478,0
PPCoord=0.427,0.192,0

FlarePos= -1.4, 0.8, 0.5
FlareDir= 0.0, 0.7, 0.7
FlarePath="LuaScripts/WorldObjects/Ballistics/Flare.txt"

GunsightPosition = 0.0, 0.0, 0.0

//   

[WeaponMode=0]
	WMname="default"
	WMgroup="default"
	PlaneModArg=-1
	TurretID=-1
	TurretDefault=""
	TurretMod=""

	[Gun=0]
		GunType = "LuaScripts/WorldObjects/Weapons/MG_ROF_Vickers_MK1_boost.txt"
		WeaponGroup1 = true //  
		AttachToPart = "Fuse_1"
		DamageConvex = "~gun01_ammo"
		MaxReservedMagazines = 0
		ProbabilityOfHit = 0.05
		CarriagePosition = 0.164, 0.514, -0.128 //      (  )   
		CarriageYawPitchRoll = 0.0, 0.0, 0.0
		CarriageMass = 0.01 //  
		CarriageMassPosition_inCarriageAxis = 0.0, 0.0, 0.0
		CarriageMOI_inCarriageAxis = 0.016, 0.016, 0.016, 0, 0, 0 //   
		CarriageCxaS = 0.0 //  
		CarriageDragPosition = 0.164, 0.514, -0.128 //  
		DefaultGunPosition = 0.164, 0.514, -0.128 //   
		DefaultGunYawPitchRoll = 0.0, 0.0, 0.0
		DefaultGunCxaS = 0.0 //  
		DefaultGunDragPosition = 0.164, 0.514, -0.128 //  
		BarrelTemperatureDecreaseCorrectionData = 1.0, 4.0, 300.0
		CarriageAdditionalBulletDispertionAngle = 0.0315723, 0.061884	//      ,     -3  102.4..118  200.    "  "  -2 54  50.
		AmmunitionAttachToPart = "Fuse_1" //  CollisionBox   ,      
		AmmunitionPosition = 0.0, 0.0, 0.0 //  ..      , [] // TODO_GUN
		CartridgeCasesEjection = true
		CartridgeCasesEjectionPosition = -0.269, -0.439, -0.060 //           , []
		CartridgeCasesEjectionSpeed = 0, -1, 0 //            , [/]
		FireButtonArgIdx = 9000
		AzimuthDeviationArgIdx = 9012
		ElevationDeviationArgIdx = 9013
		FlashAnimationArgIdx = 9040
		DrawAnimationArgIdx = 1, 9016 //     ,     
		DrawAnimationArgIdx = 2, 9017 //   
		DrawAnimationArgIdx = 3, 9070 //     
		FlashAnimationGroup = 0 // Light Arg 60220
		GunSoundsIdx = 1
		ShotSoundType = 1
		AfterServiceOperationDelay = 0.3
		ReArmTime = 60 //  
		isElectroTrigger = false
		IsOnlyMechanicalManualCocking = true
		IsTwoManualCockingMethods = false
		[Synchronizer=1] // Constantinesco,   , 2   1   ,   -13.4
			minRPM = 0.0
			Point = 357.0, 0.0
			Point = 360.0, 0.6
			Point = 0.0, 0.6
			Point = 2.0, 1.0
			Point = 7.0, 0.0
			Point = 177.0, 0.0
			Point = 182.0, 1.0
			Point = 187.0, 0.0
		[end]
	[end]

	[Gun=1]
		GunType = "LuaScripts/WorldObjects/Weapons/MG_ROF_Lewis.txt"
		WeaponGroupCommon = true
		WeaponGroup2 = true //     
		AttachToPart = "Krilo_Top_0"
		DamageConvex = "~gun01_ammo" // TODEV:  -  3D-
		MaxReservedMagazines = 3
		ProbabilityOfHit = 0.05
		CarriagePosition = -0.360, 0.970, 0.0 //      (  )   
		CarriageYawPitchRoll = 0.0, 0.0, 0.0
		CarriageMass = 0.01 //  
		CarriageMassPosition_inCarriageAxis = 0.0, 0.0, 0.0
		CarriageMOI_inCarriageAxis = 0.016, 0.016, 0.016, 0, 0, 0 //   
		CarriageCxaS = 0.0 //  
		CarriageDragPosition = -0.360, 0.970, 0.0 //  
		DefaultGunPosition = -0.066, 1.194, -0.003 //   
		DefaultGunYawPitchRoll = 0.0, 0.0, 0.0
		DefaultGunCxaS = 0.0 //  
		DefaultGunDragPosition = -0.066, 1.194, -0.003 //  
		[AdditionalGunPosition]
			Stage = 1.0
			GunPosition = -0.496, 1.427, -0.003
			GunYawPitchRoll = 0.0, 47.0, 0.0
			GunCxaS = 0.07
			GunDragPosition = -0.496, 1.427, -0.003
		[end]
		GunMovingTime = 0.2, 1.6, 0.2
		GunMovingSoundIdx = 0
		GunPositionArgIdx = 9021
		GunPositionArgKeys = 0.02, 0.98
		CockingPosition = 0.0, 1.0
		ReLoadingPosition = 0.98, 1.00
		ReLoadingStagesTime = 1.0, 3.0, 1.0, 0.3
		ReLoadingArgIdx = 9054
		RoundsInMagazineArgIdx = 9056
		ReservedMagazinesArgIdx = 9182
		TriggerPositionArgIdx = 9001
		FiringPinPositionArgIdx = 9026 //   -   
		BarrelTemperatureDecreaseCorrectionData = 1.0, 4.0, 300.0
		CarriageAdditionalBulletDispertionAngle = 0.0315723, 0.123768	//       .    2.0  .
		AmmunitionAttachToPart = "Krilo_Top_0" //  CollisionBox   ,      
		AmmunitionPosition = 0.0, 0.0, 0.0 //  ..      , [] // TODO_GUN
		CartridgeCasesEjection = true
		HideAmmunitionArgIdx = 9055
		AzimuthDeviationArgIdx = 9022
		ElevationDeviationArgIdx = 9023
		FlashAnimationArgIdx = 9050
		FlashAnimationGroup = 1 // Light Arg 60230
		GunSoundsIdx = 2
		ShotSoundType = 0
		AfterServiceOperationDelay = 0.3
		ReArmTime = 20 //  
		isElectroTrigger = false
		IsOnlyMechanicalManualCocking = true
		IsTwoManualCockingMethods = false
	[end]
[end]

[WeaponMode=1]
	WMname="SE5a_Aldis"
	WMgroup="1"
	PlaneModArg=19001
	TurretID=-1
	TurretDefault=""
	TurretMod=""

	[AdditionalElement]
		AttachToPart = "Fuse_0"
		Position = 0.394, 0.539, 0.043
		Mass = 2.0
		CxaS = 0.01
	[end]
[end]

[WeaponMode=2]
	WMname="SE5a_FuelGauge"
	WMgroup="2"
	PlaneModArg=19002
	TurretID=-1
	TurretDefault=""
	TurretMod=""

	[AdditionalElement]
		AttachToPart = "Fuse_0"
		Position = -0.577, 0.431, -0.284
		Mass = 0.5
		CxaS = 0.0
	[end]
[end]

[WeaponMode=3]
	WMname="SE5a_CockpitLight"
	WMgroup="3"
	PlaneModArg=19003
	TurretID=-1
	TurretDefault=""
	TurretMod=""

	[AdditionalElement]
		AttachToPart = "Fuse_0"
		Position = -0.286, 0.292, 0.353
		Mass = 0.5
		CxaS = 0.0
	[end]
[end]

[WeaponMode=4]
	WMname="SE5a_Bombs"
	WMgroup="4"
	PlaneModArg=-1
	TurretID=-1
	TurretDefault=""
	TurretMod=""
[end]


//   

AmmunitionArg=12900

[Ammunition=0]
	WeaponModes=-4
	AnimationVal=0.75
	name="0-VickersMk1-AP-400 + 1-Lewis-AP-388"
	GunAmmunition0=1
	GunAmmunition1=3
	Bomb0=-1
	PrimaryAimingGun=0
[end]
[Ammunition=1]
	WeaponModes=-4
	AnimationVal=0.75
	name="0-VickersMk1-AP-200 + 1-Lewis-AP-194"
	GunAmmunition0=0
	GunAmmunition1=2
	Bomb0=-1
	PrimaryAimingGun=0
[end]
[Ammunition=2]
	WeaponModes=4
	AnimationVal=0.25
	name="0-VickersMk1-AP-400 + 1-Lewis-AP-388 + Cooper24lb-4"
	GunAmmunition0=1
	GunAmmunition1=3
	Bomb0=0, "LuaScripts/WorldObjects/Ballistics/Bombs/BOMB_GBR_24lb.txt"
	Bomb1=1, "LuaScripts/WorldObjects/Ballistics/Bombs/BOMB_GBR_24lb.txt"
	Bomb2=2, "LuaScripts/WorldObjects/Ballistics/Bombs/BOMB_GBR_24lb.txt"
	Bomb3=3, "LuaScripts/WorldObjects/Ballistics/Bombs/BOMB_GBR_24lb.txt"
	PrimaryAimingGun=0
[end]
[Ammunition=3]
	WeaponModes=4
	AnimationVal=0.25
	name="0-VickersMk1-AP-400 + 1-Lewis-AP-388 + Cooper24lb-2"
	GunAmmunition0=1
	GunAmmunition1=3
	Bomb0=-1
	Bomb1=1, "LuaScripts/WorldObjects/Ballistics/Bombs/BOMB_GBR_24lb.txt"
	Bomb2=2, "LuaScripts/WorldObjects/Ballistics/Bombs/BOMB_GBR_24lb.txt"
	Bomb3=-1
	PrimaryAimingGun=0
[end]
[Ammunition=4]
	WeaponModes=-4
	AnimationVal=0.75
	name="empty"
	GunAmmunition0=-1
	GunAmmunition1=-1
	Bomb0=-1
	PrimaryAimingGun=0
[end]
[Ammunition=5]
	WeaponModes=-4
	AnimationVal=0.75
	name="SmokeGenWhiteOne-1"
	GunAmmunition0=-1
	GunAmmunition1=-1
	Bomb0=4, "LuaScripts/WorldObjects/Ballistics/Bombs/SMOKEGEN.txt"
	PrimaryAimingGun=0
[end]
[Ammunition=6]
	WeaponModes=-4
	AnimationVal=0.75
	name="SmokeGenWhiteTwo-2"
	GunAmmunition0=-1
	GunAmmunition1=-1
	Bomb0=5, "LuaScripts/WorldObjects/Ballistics/Bombs/SMOKEGEN.txt"
	Bomb1=6, "LuaScripts/WorldObjects/Ballistics/Bombs/SMOKEGEN.txt"
	PrimaryAimingGun=0
[end]
[Ammunition=7]
	WeaponModes=-4
	AnimationVal=0.75
	name="SmokeGenBlueOne-1"
	GunAmmunition0=-1
	GunAmmunition1=-1
	Bomb0=7, "LuaScripts/WorldObjects/Ballistics/Bombs/SMOKEGEN.txt"
	PrimaryAimingGun=0
[end]
[Ammunition=8]
	WeaponModes=-4
	AnimationVal=0.75
	name="SmokeGenBlueTwo-2"
	GunAmmunition0=-1
	GunAmmunition1=-1
	Bomb0=8, "LuaScripts/WorldObjects/Ballistics/Bombs/SMOKEGEN.txt"
	Bomb1=9, "LuaScripts/WorldObjects/Ballistics/Bombs/SMOKEGEN.txt"
	PrimaryAimingGun=0
[end]
[Ammunition=9]
	WeaponModes=-4
	AnimationVal=0.75
	name="SmokeGenRedOne-1"
	GunAmmunition0=-1
	GunAmmunition1=-1
	Bomb0=10, "LuaScripts/WorldObjects/Ballistics/Bombs/SMOKEGEN.txt"
	PrimaryAimingGun=0
[end]
[Ammunition=10]
	WeaponModes=-4
	AnimationVal=0.75
	name="SmokeGenRedTwo-2"
	GunAmmunition0=-1
	GunAmmunition1=-1
	Bomb0=11, "LuaScripts/WorldObjects/Ballistics/Bombs/SMOKEGEN.txt"
	Bomb1=12, "LuaScripts/WorldObjects/Ballistics/Bombs/SMOKEGEN.txt"
	PrimaryAimingGun=0
[end]
[Ammunition=11]
	WeaponModes=-4
	AnimationVal=0.75
	name="SmokeGenGreenOne-1"
	GunAmmunition0=-1
	GunAmmunition1=-1
	Bomb0=13, "LuaScripts/WorldObjects/Ballistics/Bombs/SMOKEGEN.txt"
	PrimaryAimingGun=0
[end]
[Ammunition=12]
	WeaponModes=-4
	AnimationVal=0.75
	name="SmokeGenGreenTwo-2"
	GunAmmunition0=-1
	GunAmmunition1=-1
	Bomb0=14, "LuaScripts/WorldObjects/Ballistics/Bombs/SMOKEGEN.txt"
	Bomb1=15, "LuaScripts/WorldObjects/Ballistics/Bombs/SMOKEGEN.txt"
	PrimaryAimingGun=0
[end]
[Ammunition=13]
	WeaponModes=-4
	AnimationVal=0.75
	name="SmokeGenYellowOne-1"
	GunAmmunition0=-1
	GunAmmunition1=-1
	Bomb0=16, "LuaScripts/WorldObjects/Ballistics/Bombs/SMOKEGEN.txt"
	PrimaryAimingGun=0
[end]
[Ammunition=14]
	WeaponModes=-4
	AnimationVal=0.75
	name="SmokeGenYellowTwo-2"
	GunAmmunition0=-1
	GunAmmunition1=-1
	Bomb0=17, "LuaScripts/WorldObjects/Ballistics/Bombs/SMOKEGEN.txt"
	Bomb1=18, "LuaScripts/WorldObjects/Ballistics/Bombs/SMOKEGEN.txt"
	PrimaryAimingGun=0
[end]
[Ammunition=15]
	WeaponModes=-4
	AnimationVal=0.75
	name="SmokeGenBlackOne-1"
	GunAmmunition0=-1
	GunAmmunition1=-1
	Bomb0=19, "LuaScripts/WorldObjects/Ballistics/Bombs/SMOKEGEN.txt"
	PrimaryAimingGun=0
[end]
[Ammunition=16]
	WeaponModes=-4
	AnimationVal=0.75
	name="SmokeGenBlackTwo-2"
	GunAmmunition0=-1
	GunAmmunition1=-1
	Bomb0=20, "LuaScripts/WorldObjects/Ballistics/Bombs/SMOKEGEN.txt"
	Bomb1=21, "LuaScripts/WorldObjects/Ballistics/Bombs/SMOKEGEN.txt"
	PrimaryAimingGun=0
[end]

DefaultAmmunition=0

//  

[GunAmmunition=0]
	ExpendableMass = 1.0 //  RoF     .       - TODEV ?
	ResidualMass = 0 // TODEV ?
	MaxMisFiresInMagazine=1
	MaxRoundsInMagazine=400
	RoundsInMagazine=200
	ReservedMagazines=0
	AmountRoundsWithOneTracer=3	//  3-   
	TracerIdx=0
	object0="LuaScripts/WorldObjects/Ballistics/Projectiles/BULLET_ENG_7-7x56_APsmk.txt"
	BushConfig = "LuaScripts/WorldObjects/Trash/Batch_case07-08mm.txt"
[end]
[GunAmmunition=1]
	ExpendableMass = 1.0 //  RoF     .       - TODEV ?
	ResidualMass = 0 // TODEV ?
	MaxMisFiresInMagazine=2
	MaxRoundsInMagazine=400
	RoundsInMagazine=400
	ReservedMagazines=0
	AmountRoundsWithOneTracer=3	//  3-   
	TracerIdx=0
	object0="LuaScripts/WorldObjects/Ballistics/Projectiles/BULLET_ENG_7-7x56_APsmk.txt"
	BushConfig = "LuaScripts/WorldObjects/Trash/Batch_case07-08mm.txt"
[end]

//   

[GunAmmunition=2]
	ExpendableMass = 1.0 //  RoF     .       - TODEV ?
	ResidualMass = 0 // TODEV ?
	MaxMisFiresInMagazine=1
	MaxRoundsInMagazine=97
	RoundsInMagazine=97
	ReservedMagazines=1
	AmountRoundsWithOneTracer=3	//  3-   
	TracerIdx=0
	object0="LuaScripts/WorldObjects/Ballistics/Projectiles/BULLET_ENG_7-7x56_APsmk.txt"
	BushConfig = "LuaScripts/WorldObjects/Trash/Batch_case07-08mm.txt"
[end]
[GunAmmunition=3]
	ExpendableMass = 1.0 //  RoF     .       - TODEV ?
	ResidualMass = 0 // TODEV ?
	MaxMisFiresInMagazine=1
	MaxRoundsInMagazine=97
	RoundsInMagazine=97
	ReservedMagazines=3
	AmountRoundsWithOneTracer=3	//  3-   
	TracerIdx=0
	object0="LuaScripts/WorldObjects/Ballistics/Projectiles/BULLET_ENG_7-7x56_APsmk.txt"
	BushConfig = "LuaScripts/WorldObjects/Trash/Batch_case07-08mm.txt"
[end]

//   

[attach=20]
	position= -0.18, -0.656, -0.2
	convex = "Fuse_0"
[end]
[attach=21]
	position= -0.18, -0.656, -0.067
	convex = "Fuse_0"
[end]
[attach=22]
	position= -0.18, -0.656, 0.067
	convex = "Fuse_0"
[end]
[attach=23]
	position= -0.18, -0.656, 0.2
	convex = "Fuse_0"
[end]

//   

[attach=24]
	position= -3.509, -0.045, 0.140
	convex = "Fuse_4"
	rotation= 90, 6.5, 0.0
[end]
[attach=25]
	position= -0.108, 1.253, -3.759
	convex = "Krilo_Top_L_3"
	rotation= -2, 0, 7.5
[end]
[attach=26]
	position= -0.108, 1.253, 3.759
	convex = "Krilo_Top_R_3"
	rotation= 2, 0, 7.5
[end]

//  

[BombHolder=0]
	AttachIdx = 20
	ReloadTime = 3
	object = "LuaScripts/WorldObjects/Ballistics/Bombs/BOMB_GBR_24lb.txt"
    Direction = 1.0, 0.0, 0.0
	PushRange = 0.0, -0.02, 0.0
	Rotation = 0
	PushDir  = 1.0, 0.0, 0.0
	AttachPos= -0.18, -0.656, -0.2
    Convex = "Fuse_0"
	BombHolderMass = 3.0	//  
	BombHolderCxaS = 0.004	//  
	AttachedBombCxaS = 0.006
	DamagedPushProp = 0.005
	ThrowSoundType = 2
[end]
[BombHolder=1]
	AttachIdx = 21
	ReloadTime = 3
	object = "LuaScripts/WorldObjects/Ballistics/Bombs/BOMB_GBR_24lb.txt"
    Direction = 1.0, 0.0, 0.0
	PushRange = 0.0, -0.02, 0.0
	Rotation = 0
	PushDir  = 1.0, 0.0, 0.0
	AttachPos= -0.18, -0.656, -0.067
    Convex = "Fuse_0"
	BombHolderMass = 3.0	//  
	BombHolderCxaS = 0.004	//  
	AttachedBombCxaS = 0.006
	DamagedPushProp = 0.005
	ThrowSoundType = 2
[end]
[BombHolder=2]
	AttachIdx = 22
	ReloadTime = 3
	object = "LuaScripts/WorldObjects/Ballistics/Bombs/BOMB_GBR_24lb.txt"
    Direction = 1.0, 0.0, 0.0
	PushRange = 0.0, -0.02, 0.0
	Rotation = 0
	PushDir  = 1.0, 0.0, 0.0
	AttachPos= -0.18, -0.656, 0.067
    Convex = "Fuse_0"
	BombHolderMass = 3.0	//  
	BombHolderCxaS = 0.004	//  
	AttachedBombCxaS = 0.006
	DamagedPushProp = 0.005
	ThrowSoundType = 2
[end]
[BombHolder=3]
	AttachIdx = 23
	ReloadTime = 3
	object = "LuaScripts/WorldObjects/Ballistics/Bombs/BOMB_GBR_24lb.txt"
    Direction = 1.0, 0.0, 0.0
	PushRange = 0.0, -0.02, 0.0
	Rotation = 0
	PushDir  = 1.0, 0.0, 0.0
	AttachPos= -0.18, -0.656, 0.2
    Convex = "Fuse_0"
	BombHolderMass = 3.0	//  
	BombHolderCxaS = 0.004	//  
	AttachedBombCxaS = 0.006
	DamagedPushProp = 0.005
	ThrowSoundType = 2
[end]

//  

[BombHolder=4]
	AttachIdx = 24
	ReloadTime = 3
	object = "LuaScripts/WorldObjects/Ballistics/Bombs/SMOKEGEN.txt"
	Direction = 1.0, 0.0, 0.0
	PushRange = 0.0, -0.02, 0.0
	Rotation = 0
	AttachPos = -3.509, -0.045, 0.137
	convex = "Fuse_4"
	BombHolderMass = 0.0
	BombHolderCxaS = 0.0
	AttachedBombCxaS = 0.009
	DamagedPushProp = 0.005 //      Convex
	IsSmokeGenerator = 1 // 1-, 2-, 3-, 4-, 5-, 6-
	smokePositionShiftX = 0.0
	smokePositionShiftY = 0.0
[end]
[BombHolder=5]
	AttachIdx = 25
	ReloadTime = 3
	object = "LuaScripts/WorldObjects/Ballistics/Bombs/SMOKEGEN.txt"
	Direction = 1.0, 0.0, 0.0
	PushRange = 0.0, -0.02, 0.0
	Rotation = 0
	AttachPos = -0.108, 1.253, -3.759
	Convex = "Krilo_Top_L_3"
	BombHolderMass = 0.0
	BombHolderCxaS = 0.0
	AttachedBombCxaS = 0.009
	DamagedPushProp = 0.005 //      Convex
	IsSmokeGenerator = 1 // 1-, 2-, 3-, 4-, 5-, 6-
	smokePositionShiftX = 0.0
	smokePositionShiftY = 0.0
[end]
[BombHolder=6]
	AttachIdx = 26
	ReloadTime = 3
	object = "LuaScripts/WorldObjects/Ballistics/Bombs/SMOKEGEN.txt"
	Direction = 1.0, 0.0, 0.0
	PushRange = 0.0, -0.02, 0.0
	Rotation = 0
	AttachPos = -0.108, 1.253, 3.759
	Convex = "Krilo_Top_R_3"
	BombHolderMass = 0.0
	BombHolderCxaS = 0.0
	AttachedBombCxaS = 0.009
	DamagedPushProp = 0.005 //      Convex
	IsSmokeGenerator = 1 // 1-, 2-, 3-, 4-, 5-, 6-
	smokePositionShiftX = 0.0
	smokePositionShiftY = 0.0
[end]

//  

[BombHolder=7]
	AttachIdx = 24
	ReloadTime = 3
	object = "LuaScripts/WorldObjects/Ballistics/Bombs/SMOKEGEN.txt"
	Direction = 1.0, 0.0, 0.0
	PushRange = 0.0, -0.02, 0.0
	Rotation = 0
	AttachPos = -3.509, -0.045, 0.137
	convex = "Fuse_4"
	BombHolderMass = 0.0
	BombHolderCxaS = 0.0
	AttachedBombCxaS = 0.009
	DamagedPushProp = 0.005 //      Convex
	IsSmokeGenerator = 2 // 1-, 2-, 3-, 4-, 5-, 6-
	smokePositionShiftX = 0.0
	smokePositionShiftY = 0.0
[end]
[BombHolder=8]
	AttachIdx = 25
	ReloadTime = 3
	object = "LuaScripts/WorldObjects/Ballistics/Bombs/SMOKEGEN.txt"
	Direction = 1.0, 0.0, 0.0
	PushRange = 0.0, -0.02, 0.0
	Rotation = 0
	AttachPos = -0.108, 1.253, -3.759
	Convex = "Krilo_Top_L_3"
	BombHolderMass = 0.0
	BombHolderCxaS = 0.0
	AttachedBombCxaS = 0.009
	DamagedPushProp = 0.005 //      Convex
	IsSmokeGenerator = 2 // 1-, 2-, 3-, 4-, 5-, 6-
	smokePositionShiftX = 0.0
	smokePositionShiftY = 0.0
[end]
[BombHolder=9]
	AttachIdx = 26
	ReloadTime = 3
	object = "LuaScripts/WorldObjects/Ballistics/Bombs/SMOKEGEN.txt"
	Direction = 1.0, 0.0, 0.0
	PushRange = 0.0, -0.02, 0.0
	Rotation = 0
	AttachPos = -0.108, 1.253, 3.759
	Convex = "Krilo_Top_R_3"
	BombHolderMass = 0.0
	BombHolderCxaS = 0.0
	AttachedBombCxaS = 0.009
	DamagedPushProp = 0.005 //      Convex
	IsSmokeGenerator = 2 // 1-, 2-, 3-, 4-, 5-, 6-
	smokePositionShiftX = 0.0
	smokePositionShiftY = 0.0
[end]

//  

[BombHolder=10]
	AttachIdx = 24
	ReloadTime = 3
	object = "LuaScripts/WorldObjects/Ballistics/Bombs/SMOKEGEN.txt"
	Direction = 1.0, 0.0, 0.0
	PushRange = 0.0, -0.02, 0.0
	Rotation = 0
	AttachPos = -3.509, -0.045, 0.137
	convex = "Fuse_4"
	BombHolderMass = 0.0
	BombHolderCxaS = 0.0
	AttachedBombCxaS = 0.009
	DamagedPushProp = 0.005 //      Convex
	IsSmokeGenerator = 3 // 1-, 2-, 3-, 4-, 5-, 6-
	smokePositionShiftX = 0.0
	smokePositionShiftY = 0.0
[end]
[BombHolder=11]
	AttachIdx = 25
	ReloadTime = 3
	object = "LuaScripts/WorldObjects/Ballistics/Bombs/SMOKEGEN.txt"
	Direction = 1.0, 0.0, 0.0
	PushRange = 0.0, -0.02, 0.0
	Rotation = 0
	AttachPos = -0.108, 1.253, -3.759
	Convex = "Krilo_Top_L_3"
	BombHolderMass = 0.0
	BombHolderCxaS = 0.0
	AttachedBombCxaS = 0.009
	DamagedPushProp = 0.005 //      Convex
	IsSmokeGenerator = 3 // 1-, 2-, 3-, 4-, 5-, 6-
	smokePositionShiftX = 0.0
	smokePositionShiftY = 0.0
[end]
[BombHolder=12]
	AttachIdx = 26
	ReloadTime = 3
	object = "LuaScripts/WorldObjects/Ballistics/Bombs/SMOKEGEN.txt"
	Direction = 1.0, 0.0, 0.0
	PushRange = 0.0, -0.02, 0.0
	Rotation = 0
	AttachPos = -0.108, 1.253, 3.759
	Convex = "Krilo_Top_R_3"
	BombHolderMass = 0.0
	BombHolderCxaS = 0.0
	AttachedBombCxaS = 0.009
	DamagedPushProp = 0.005 //      Convex
	IsSmokeGenerator = 3 // 1-, 2-, 3-, 4-, 5-, 6-
	smokePositionShiftX = 0.0
	smokePositionShiftY = 0.0
[end]

//  

[BombHolder=13]
	AttachIdx = 24
	ReloadTime = 3
	object = "LuaScripts/WorldObjects/Ballistics/Bombs/SMOKEGEN.txt"
	Direction = 1.0, 0.0, 0.0
	PushRange = 0.0, -0.02, 0.0
	Rotation = 0
	AttachPos = -3.509, -0.045, 0.137
	convex = "Fuse_4"
	BombHolderMass = 0.0
	BombHolderCxaS = 0.0
	AttachedBombCxaS = 0.009
	DamagedPushProp = 0.005 //      Convex
	IsSmokeGenerator = 4 // 1-, 2-, 3-, 4-, 5-, 6-
	smokePositionShiftX = 0.0
	smokePositionShiftY = 0.0
[end]
[BombHolder=14]
	AttachIdx = 25
	ReloadTime = 3
	object = "LuaScripts/WorldObjects/Ballistics/Bombs/SMOKEGEN.txt"
	Direction = 1.0, 0.0, 0.0
	PushRange = 0.0, -0.02, 0.0
	Rotation = 0
	AttachPos = -0.108, 1.253, -3.759
	Convex = "Krilo_Top_L_3"
	BombHolderMass = 0.0
	BombHolderCxaS = 0.0
	AttachedBombCxaS = 0.009
	DamagedPushProp = 0.005 //      Convex
	IsSmokeGenerator = 4 // 1-, 2-, 3-, 4-, 5-, 6-
	smokePositionShiftX = 0.0
	smokePositionShiftY = 0.0
[end]
[BombHolder=15]
	AttachIdx = 26
	ReloadTime = 3
	object = "LuaScripts/WorldObjects/Ballistics/Bombs/SMOKEGEN.txt"
	Direction = 1.0, 0.0, 0.0
	PushRange = 0.0, -0.02, 0.0
	Rotation = 0
	AttachPos = -0.108, 1.253, 3.759
	Convex = "Krilo_Top_R_3"
	BombHolderMass = 0.0
	BombHolderCxaS = 0.0
	AttachedBombCxaS = 0.009
	DamagedPushProp = 0.005 //      Convex
	IsSmokeGenerator = 4 // 1-, 2-, 3-, 4-, 5-, 6-
	smokePositionShiftX = 0.0
	smokePositionShiftY = 0.0
[end]

//  

[BombHolder=16]
	AttachIdx = 24
	ReloadTime = 3
	object = "LuaScripts/WorldObjects/Ballistics/Bombs/SMOKEGEN.txt"
	Direction = 1.0, 0.0, 0.0
	PushRange = 0.0, -0.02, 0.0
	Rotation = 0
	AttachPos = -3.509, -0.045, 0.137
	convex = "Fuse_4"
	BombHolderMass = 0.0
	BombHolderCxaS = 0.0
	AttachedBombCxaS = 0.009
	DamagedPushProp = 0.005 //      Convex
	IsSmokeGenerator = 5 // 1-, 2-, 3-, 4-, 5-, 6-
	smokePositionShiftX = 0.0
	smokePositionShiftY = 0.0
[end]
[BombHolder=17]
	AttachIdx = 25
	ReloadTime = 3
	object = "LuaScripts/WorldObjects/Ballistics/Bombs/SMOKEGEN.txt"
	Direction = 1.0, 0.0, 0.0
	PushRange = 0.0, -0.02, 0.0
	Rotation = 0
	AttachPos = -0.108, 1.253, -3.759
	Convex = "Krilo_Top_L_3"
	BombHolderMass = 0.0
	BombHolderCxaS = 0.0
	AttachedBombCxaS = 0.009
	DamagedPushProp = 0.005 //      Convex
	IsSmokeGenerator = 5 // 1-, 2-, 3-, 4-, 5-, 6-
	smokePositionShiftX = 0.0
	smokePositionShiftY = 0.0
[end]
[BombHolder=18]
	AttachIdx = 26
	ReloadTime = 3
	object = "LuaScripts/WorldObjects/Ballistics/Bombs/SMOKEGEN.txt"
	Direction = 1.0, 0.0, 0.0
	PushRange = 0.0, -0.02, 0.0
	Rotation = 0
	AttachPos = -0.108, 1.253, 3.759
	Convex = "Krilo_Top_R_3"
	BombHolderMass = 0.0
	BombHolderCxaS = 0.0
	AttachedBombCxaS = 0.009
	DamagedPushProp = 0.005 //      Convex
	IsSmokeGenerator = 5 // 1-, 2-, 3-, 4-, 5-, 6-
	smokePositionShiftX = 0.0
	smokePositionShiftY = 0.0
[end]

//  

[BombHolder=19]
	AttachIdx = 24
	ReloadTime = 3
	object = "LuaScripts/WorldObjects/Ballistics/Bombs/SMOKEGEN.txt"
	Direction = 1.0, 0.0, 0.0
	PushRange = 0.0, -0.02, 0.0
	Rotation = 0
	AttachPos = -3.509, -0.045, 0.137
	convex = "Fuse_4"
	BombHolderMass = 0.0
	BombHolderCxaS = 0.0
	AttachedBombCxaS = 0.009
	DamagedPushProp = 0.005 //      Convex
	IsSmokeGenerator = 6 // 1-, 2-, 3-, 4-, 5-, 6-
	smokePositionShiftX = 0.0
	smokePositionShiftY = 0.0
[end]
[BombHolder=20]
	AttachIdx = 25
	ReloadTime = 3
	object = "LuaScripts/WorldObjects/Ballistics/Bombs/SMOKEGEN.txt"
	Direction = 1.0, 0.0, 0.0
	PushRange = 0.0, -0.02, 0.0
	Rotation = 0
	AttachPos = -0.108, 1.253, -3.759
	Convex = "Krilo_Top_L_3"
	BombHolderMass = 0.0
	BombHolderCxaS = 0.0
	AttachedBombCxaS = 0.009
	DamagedPushProp = 0.005 //      Convex
	IsSmokeGenerator = 6 // 1-, 2-, 3-, 4-, 5-, 6-
	smokePositionShiftX = 0.0
	smokePositionShiftY = 0.0
[end]
[BombHolder=21]
	AttachIdx = 26
	ReloadTime = 3
	object = "LuaScripts/WorldObjects/Ballistics/Bombs/SMOKEGEN.txt"
	Direction = 1.0, 0.0, 0.0
	PushRange = 0.0, -0.02, 0.0
	Rotation = 0
	AttachPos = -0.108, 1.253, 3.759
	Convex = "Krilo_Top_R_3"
	BombHolderMass = 0.0
	BombHolderCxaS = 0.0
	AttachedBombCxaS = 0.009
	DamagedPushProp = 0.005 //      Convex
	IsSmokeGenerator = 6 // 1-, 2-, 3-, 4-, 5-, 6-
	smokePositionShiftX = 0.0
	smokePositionShiftY = 0.0
[end]

rec_cockpit_arg=1

SmoothControlFactor=0

//,    ,       ,   
ObjectRadius=4.7

[Entrance]
	EntrancePos = -1.3, -0.08, 0
	EntranceRot = 0, 0, 0
	JumpDir= 0, 7, 1
[end]
[Entrance]
	EntrancePos = -1.3, -0.08, 0
	EntranceRot = 0, 0, 0
	JumpDir=2,6,1
	SelectorDir=0,2,0	//        2/
[end]

//   
SectorLimits = -180.0, -170.0, -35.0, +90.0
SectorLimits = -170.0, -84.0, -70.0, +90.0
SectorLimits = -84.0, -65.0, -11.0, +90.0
SectorLimits = -65.0, -48.0, -16.0, +90.0
SectorLimits = -48.0, -25.0, -23.0, +90.0
SectorLimits = -25.0,  -5.0, -30.0, +90.0
SectorLimits =  -5.0,  +5.0, -4.0, +90.0
SectorLimits =  +5.0, +25.0, -30.0, +90.0
SectorLimits = +25.0, +48.0, -23.0, +90.0
SectorLimits = +48.0, +65.0, -16.0, +90.0
SectorLimits = +65.0, +84.0, -11.0, +90.0
SectorLimits = +84.0, +170.0, -70.0, +90.0
SectorLimits = +170.0, +180.0, -35.0, +90.0

//AIRPLANE DAMAGE

[PlanePartProtection]
	PartName = "~eng01"
	DirectHitArmor = 5.0
	SphereHitProtection = 5.0
[end]

SphereHitProtection=0

[SphereProtectionBoxOpen]	//    ,        ,   ,     SphereHitProtection=
	FovH=90					//          ,     ,  ArmorFront
	FovV=90					//          ,     ,  ArmorFront
							//  5        
	ArmorFront=5
	ArmorBack=0
	ArmorTop=0
	ArmorBottom=0
	ArmorRight=0
	ArmorLeft=0
[end]

[SphereProtectionBoxClose]	//    ,        ,   ,     SphereHitProtection=
	FovH=90					//          ,     ,  ArmorFront
	FovV=90					//          ,     ,  ArmorFront
							//  5        
	ArmorFront=5
	ArmorBack=0
	ArmorTop=0
	ArmorBottom=0
	ArmorRight=0
	ArmorLeft=0
[end]

TrashWood="LuaScripts/WorldObjects/Trash/Trash.txt"
TrashArmor="LuaScripts/WorldObjects/Trash/Trash.txt"

//  
logtreshold=0.0001

energyloss="",true,0.01,0.0				//    , true -       -,       ,        
energyloss="~ftank01",true,0.7,10000	// 
energyloss="~ftank02",true,0.7,10000	// 
energyloss="~gun01_ammo",true,0.7,20000	// 
energyloss="~eng01",true,5.0,20000		//
energyloss="~eng01_scr1",true,2.5,1000	//


SeekMaintenance = true
ReFuelFlow = 2 // liters per second
BombHolderReArmTime = 30 // seconds
RepairTime = 300 // seconds


/////   

min_CAS = 90
max_CAS = 360

DangerAoA = 7.0				// -   
CriticalAoA = 9.0			//   
Maxny = 4.0					// -  (: 6.2  V=360   )
minV = 88.0					// -   (V = V / sqrt(0.9)   )
DangerV = 360.0				//    
TakeOffV = 95.0				//   
ClimbV = 131.0				//     
WaterMaxTemperature = 100	// -    
IsLeftPedal = false			//     (true - , false - )

//IsTakeOffFlaps = false			//      
//MaxGearV = 0						// -     
//MaxFlapV = 0						// -      
//minVDeltaFlaps = 0				//    ,    
//DescendV = 0						//    
//OilMaxTemperature = 0				// -    
//CylinderHeadMaxTemperature = 0	// -     
